import { createApp } from 'vue';
import TDesign from 'tdesign-vue-next';
import 'tdesign-vue-next/es/style/index.css';
import { store } from './store';
import router from './router';
import '@/style/index.less';
import '@/style/iconfont.css';
import App from './App.vue';
import { getLinkUrl } from './utils/request/upload';
import VueWechatTitle from 'vue-wechat-title';
import vue3videoPlay from 'vue3-video-play'; // 引入组件
import 'vue3-video-play/dist/style.css'; // 引入css
import '@/style/swiper.css'; // 样式
import draggable from 'vuedraggable';
import '@/webStyle/index.less';
import { TextEllipsis } from 'vant';
import { areaProps } from 'vant/es';

const app = createApp(App);
app.config.globalProperties.$filters = {
  getLinkUrl,
};
app.use(TDesign);
app.use(store);
app.use(vue3videoPlay);
app.use(router);
app.use(VueWechatTitle);
app.use(TextEllipsis);

// app.use(ActionSheet);
app.mount('#app');
